package com.qfedu.yuxiaoer.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class OcBank implements Serializable {
    @ApiModelProperty(value = "银行id")
    private Integer id;

    @ApiModelProperty(value = "银行卡号")
    private String cardnum;

    @ApiModelProperty(value = "开户银行")
    private String bankname;

    @ApiModelProperty(value = "支行名称")
    private String subbranchname;

    @ApiModelProperty(value = "持卡人")
    private String ownername;

    @ApiModelProperty(value = "身份证头像面")
    private String avatar;

    @ApiModelProperty(value = "身份证国徽面")
    private String emblem;

    @ApiModelProperty(value = "身份证号")
    private String number;

    @ApiModelProperty(value = "手机号")
    private String phone;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public String getSubbranchname() {
        return subbranchname;
    }

    public void setSubbranchname(String subbranchname) {
        this.subbranchname = subbranchname;
    }

    public String getOwnername() {
        return ownername;
    }

    public void setOwnername(String ownername) {
        this.ownername = ownername;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEmblem() {
        return emblem;
    }

    public void setEmblem(String emblem) {
        this.emblem = emblem;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cardnum=").append(cardnum);
        sb.append(", bankname=").append(bankname);
        sb.append(", subbranchname=").append(subbranchname);
        sb.append(", ownername=").append(ownername);
        sb.append(", avatar=").append(avatar);
        sb.append(", emblem=").append(emblem);
        sb.append(", number=").append(number);
        sb.append(", phone=").append(phone);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}